MutableEntry

interface MutableEntry<K, V> : Map.Entry<K, V>

Represents a key/value pair held by a MutableMap.

Functions

setValue
Link copied to clipboard
abstract fun setValue(newValue: V): V

Changes the value associated with the key of this entry.

Properties

key
Link copied to clipboard
abstract val key: K

Returns the key of this key/value pair.

value
Link copied to clipboard
abstract val value: V

Returns the value of this key/value pair.